package demo6;

public class Car1 {
    private int name;
    private  String color;

    public Car1(int name, String color) {
        this.name = name;
        this.color = color;
    }
    public void go(){
        System.out.println("带你无任何地方"+name+color);
    }

}
